package com.cwx.mychat.entity.vo;

import lombok.Data;

/**
 * 作者： cwx
 * 时间： 2024/10/13 15:44
 * 版本： 1.0
 * 注释：
 */
@Data
public class SearchUserVo {

    private String userId;
    private String nickName;
    private Integer sex;
    private String birthday;
    private String areaName;
    private String userAvatar;
    private String beautifulNumber;
    private String personalSignature;
    private String groupId;
    private String groupName;
    private String groupAvatar;
    private String groupBeautifulNumber;
    private Integer maxNumber;
    private Integer currentNumber;
    private String groupTip;
    private String introduction;
    private Integer memberCount;
    /**
     * 1:自己，2：好友，3：其他
     */
    private Integer type;


    public enum Type{
        SELF(1, "自己"), FRIEND(2, "好友"),OTHER(3, "其他");

        private Integer type;
        private String desc;

        Type(Integer type, String desc) {
            this.desc = desc;
            this.type = type;
        }
        public Integer getType() {
            return type;
        }

        public String getDesc() {
            return desc;
        }
    }

}
